package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.model.entity.BillOrdInformationDetail;
import com.wing.bill.model.request.BillOrdInformationDetailForm;
import com.wing.bill.model.response.BillOrdInformationDetailVO;

import java.util.List;
import java.util.Map;

/**
 * 刀具消耗账单列表明细--每个帐单包含的领用订单-Service
 *
 * @author
 */
public interface BillOrdInformationDetailService extends IService<BillOrdInformationDetail> {

    /**
     * 添加
     *
     * @param billOrdInformationDetailForm
     * @return
     */
    int add(BillOrdInformationDetailForm billOrdInformationDetailForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<BillOrdInformationDetailVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<BillOrdInformationDetailVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    BillOrdInformationDetailVO get4appById(Long id);
}
